home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / comm / net / http_log.readme < prev    next >
Encoding:
Text File  |  1995-04-27  |  1.7 KB  |  50 lines

  1. Short:    Httplog.c - Parsing ncsa(cern) httpd logfile 
  2. Author:   Armin
  3. Uploader: Armin.Obersteiner@giga.or.at
  4. Type:     comm/net
  5.  
  6.  
  7. Description:
  8.  
  9.     USAGE: httplog [-s <keyword>] [-l] <logfile>
  10.  
  11.         <logfile>       -   httpd <logfile>
  12.         -l              -   long: country statistics
  13.         -lt             -   long: time statistics
  14.         -s <keyword>    -   search for <keyword>
  15.  
  16.  
  17.     compiles on:    MaxonC++ (amiga)
  18.                     gcc (amiga)
  19.                     gcc (bsd)
  20.     (it should actually compile on any platform then :)
  21.  
  22.  
  23.     it´s made to work on logfiles with american date format and austrian/german time format (24h)
  24.  
  25.     to adapt for other logfiles:
  26.       the first entry should be the site
  27.       the second entry is the date in brackets [ ]
  28.           to adapt this look in lines after "fopen"
  29.       to include new countries add lines to structure "struct dummy c"
  30.           don´t forget to increase "country_anz"
  31.       to adapt time and date do the same with "struct dummy d" / "struct dummy t"
  32.           don´t forget to increase/decrease "day_anz" :)  / "time_anz"
  33.       the second entry in these stuctures (dummy) is the string to search for
  34.           (use spaces or brackets, because it´s more reliable then)
  35.       the third entry is the string for output
  36.  
  37.  
  38. CU Armin :)
  39.  
  40.  
  41. ============================= Archive contents =============================
  42.  
  43. Original  Packed Ratio    Date     Time    Name
  44. -------- ------- ----- --------- --------  -------------
  45.     8322    2112 74.6% 02-Apr-95 18:31:02  httplog.c
  46.     1305     590 54.7% 02-Apr-95 17:13:12  httplog.doc
  47.     1408     642 54.4% 02-Apr-95 17:13:36  httplog.html
  48. -------- ------- ----- --------- --------
  49.    11035    3344 69.6% 05-Apr-95 11:22:04   3 files
  50.